package install.ren.exercise.test.aop;

import org.springframework.stereotype.Service;

import java.util.concurrent.TimeUnit;

/**
 * @author jonny
 * Created on 2021/8/29
 */
public class DemoBean {
    public void run1() {
        System.out.println("run1...");
    }
    public static void runStatic() {
        System.out.println("runStatic...");
    }
    public void run2() throws Exception {
        TimeUnit.SECONDS.sleep(2);
        System.out.println("run2...");
    }
}
